package apps.getters;

import java.sql.Timestamp;

/**
 *
 * The idea is to extend this abstract class and allow starting an IntervalDataGetter
 * given a Getter child. It is the Getter that is responsible
 *
 *
 * Last Modified: Oct 31, 2010<br>
 * Version: 1.0<br>
 * Created: Oct 31, 2010<br>
 * Author: Katie Kuksenok (katie.kuksenok@gmail.com)
 *
 * @author Katie
 */
public abstract class Getter {

    /**
     * @param URL - string representation of url
     * @param scraped - the timestamp gathered
     * @param content - full content; could be null if DB not working, but shouldn't
     * @param last - true iff this is the latest version
     */
    public abstract void handleResultElement(int ID, String URL, Timestamp scraped, String content, boolean last);
}
